package leetcode.calc._06_07;


import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;

public class _0721_001_test_map {
    public static void main(String[] args) {
        HashMap<String, Integer> map = new HashMap<>();

        for (int i = 0; i < 10; i++) {
            map.put("i" + i, i);
        }
        System.exit(0);
        map.remove("i" + 2);
        Collection<Integer> values = map.values();
        Iterator<Integer> iterator = values.iterator();
        Integer next = iterator.next();
        Integer next1 = iterator.next();
        Integer next2 = iterator.next();
        System.out.println("\u202eab" + ((char)8238) + "-------------------华丽分割线----------------------");
        System.out.println("\u202Eab" + "-------------------华丽分割线----------------------");
        System.out.println("\u202E水遁话");
        System.out.println("\u202E水遁话");
        System.out.println(Math.pow(2, 8));
        System.out.println(Math.pow(2, 16));
        System.out.println(Byte.MAX_VALUE);
        System.out.println(Long.MAX_VALUE);
        String str = "AA";
        System.out.println(Arrays.toString(str.getBytes()));
        for (byte aByte : str.getBytes()) {
            System.out.println(Integer.toBinaryString(aByte));
        }
        str = new String(new byte[]{123});
        System.out.println("-------------------华丽分割线----------------------");
        System.out.println(str);
        System.out.println(Arrays.toString(str.getBytes()));
        for (byte aByte : str.getBytes()) {
            System.out.println(Integer.toBinaryString(aByte));
        }
        str = "梨";
        System.out.println(Arrays.toString(str.getBytes()));
        for (byte aByte : str.getBytes()) {
            System.out.println(Integer.toBinaryString(aByte));
        }
        System.out.println(0b110100010101000);
    }
}